﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MesBSW.DAL.MesDB
{
    [Table("mat_info")]
    public class MatInfo
    {
        /// <summary>
        /// 物料ID，金蝶系统中物料的ID
        /// </summary>
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public int mat_id { get; set; }


        /// <summary>
        /// 主件品号
        /// </summary>
        public string mat_number { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public string mat_name { get; set; }

        /// <summary>
        /// 规格
        /// </summary>
        public string mat_spe { get; set; }

        /// <summary>
        /// 基本单位
        /// </summary>
        public string base_unit { get; set; }

        /// <summary>
        /// 创建组织ID
        /// </summary>
        public string create_orgid { get; set; }

        /// <summary>
        /// 使用组织ID
        /// </summary>
        public string use_ordid { get; set; }

        /// <summary>
        /// 分类ID
        /// </summary>
        public int mat_group { get; set; }

        /// <summary>
        /// 数据状态
        /// </summary>
        public string doc_status { get; set; }

        /// <summary>
        /// 禁用状态
        /// </summary>
        public string forbid_status { get; set; }

        /// <summary>
        /// 卡板容纳数量
        /// </summary>
        public decimal board_qty { get; set; }
    }
}
